package com.itheima.reggie.service;

import com.itheima.reggie.dto.OrdersDto;
import com.itheima.reggie.entity.Orders;
import com.itheima.reggie.entity.Page;

import java.util.List;

public interface OrderService {
    void submit(Orders orders);

    Page<OrdersDto> getUserPage(Integer page, Integer pageSize, Long userId);

    Page<Orders> getOrdersPage(Integer page, Integer pageSize,String number, String beginTime, String endTime);
}
